package test1;

public class Employee implements Cloneable {
	private String name;
	private double salary;
	
	public Employee(String name, double salary) {
		this.name = name;
		this.salary = salary;
	}

	/*public String toString() {
		return "Employee [name=" + name + ", salary=" + salary + "]";
	}
	*/
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}
}